﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Edit.aspx.cs" Inherits="admin_gen_new_Edit" %>

<div class="frombox datagrid-body" style="padding-bottom:5px;">
    <form id="new-model" method="post">
        <table class="datagrid-btable" border="0" cellspacing="0" cellpadding="0" width="100%">
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">新闻标题</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Name" class="easyui-textbox" data-options="required:true" style="width:236px;" value="<%= model.Name %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">选择分类</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input id="new-dictionaryid" name="DictionaryID" data-options="required:true" value="<%= model.DictionaryID %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">新闻作者</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Author" class="easyui-textbox" data-options="required:true" style="width:236px;" value="<%= model.Author %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">新闻来源</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Source" class="easyui-textbox" data-options="required:true" style="width:236px;" value="<%= model.Source %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">关键字词</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Keywords" class="easyui-textbox" data-options="required:false" style="width:236px;" value="<%= model.Keywords %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">字词描述</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Description" class="easyui-textbox" data-options="required:false" style="width:236px;" value="<%= model.Description %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="text" colspan="4">
                    <div class="datagrid-cell">
                        <textarea id="new-content" name="Content"><%= model.Content %></textarea>
                    </div>
                </td>
            </tr>
        </table>
        <input name="ID" type="hidden" value="<%= model.ID %>" />
        <input name="Img" type="hidden" value="<%= model.Img %>" />
        <input name="Top" type="hidden" value="<%= model.Top %>" />
        <input name="InsertTime" type="hidden" value="<%= model.InsertTime %>" />
        <input name="UpdateTime" type="hidden" value="<%= model.UpdateTime %>" />
    </form>
</div>